import { Meta } from '@storybook/blocks';

import * as CheckboxStories from '../stories/Checkbox.stories';

<Meta of={CheckboxStories} />

# Checkbox

A material design checkbox.

## Example

```dart liveslice=Checkbox
bool _value = true;

Checkbox(
  value: _value,
  onChanged: (bool newValue) {
    setState(() {
      _value = newValue;
    });
  },
)
```

## Related Links

- https://api.flutter.dev/flutter/material/Checkbox-class.html
